package org.thoughtworks.selenium.flex.driver;

import org.thoughtworks.selenium.flex.ui.DisplayObject;

import java.lang.reflect.InvocationTargetException;

public interface FlexDriver {
    void execute(Command what, DisplayObject where);

    <T> T execute(Class<T> returnType, Command what, DisplayObject where) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException;
}
